package site.ruolin.KeyGen.Key;

import java.math.BigInteger;

/**
 * 私钥
 * @author ruolin on 2025/09/11
 * 包含私钥参数 λ 和 μ
 */
public class PrivateKey {
    private final BigInteger lambda;
    private final BigInteger mu;

    /**
     * 构造函数
     * @param lambda λ
     * @param mu μ
     */
    public PrivateKey(BigInteger lambda, BigInteger mu) {
        this.lambda = lambda;
        this.mu = mu;
    }

    /**
     * 获取λ
     * @return λ
     */
    public BigInteger getLambda() {
        return lambda;
    }

    /**
     * 获取μ
     * @return μ
     */
    public BigInteger getMu() {
        return mu;
    }
}
